Method GetIdsWithAncestorsAsync<TProps>(List<long>, CancellationToken)
Get IDs of all objects and their parents up to root through recursive CTE
public Task<List<long>> GetIdsWithAncestorsAsync<TProps>(List<long> filteredIds, CancellationToken cancellationToken = default) where TProps : class, new()